package cn.zsb.basic;

import java.util.Scanner;

public class operator {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        /*int i = sc.nextInt();
        System.out.println(i);*/
        System.out.println(1 + 'a');
        System.out.println(1 + "a");
/*        int a = 10 ;
        int b = a ++;
        int c = 10;
        int d = ++ c;
        System.out.println(b);
        System.out.println(d);*/
        System.out.println(false);
        System.out.println(true);
        String result = "no";
        System.out.println(result);
        int a = 200;
        System.out.println(a << 2);
        int[] arr1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
        for (int x : arr1) {
            if (x % 2 == 0){
                x /= 2;
                System.out.println(x);
            }else {
                x *= 2;
                System.out.println(x);
            }
        }
    }
}
